<?php
/**
 * @version 	$Id: fDBTable.class.php 74 2010-03-17 06:48:21Z mylifeisskidrow@gmail.com $
 * @author 		$Author: mylifeisskidrow@gmail.com $
 * @copyright 	Copyright (c) 2010 Luu Trong Hieu. All right reserved.
 * @license 	GNU/GPL see license.php
 */

defined('IN_FLYWHEEL') or die('Restricted Access!');
/**
 * Database Table
 * 
 * @abstract
 * @package 	sytem
 * @subpackage 	databases 
 *
 */
abstract class fDBTable {	
	protected $conn;
	/**
	 * Construct new fDBTable
	 *
	 */
	public function __construct() {
		$this->setup();
	}

	/**
	 * Create Query	 
	 *
	 * @return fQuery
	 */
	public function createQuery() {
		return new fQuery($this);		
	}
	
	public function find($id) {		
	}
	
	public function fetchAll() {}
	public function fetchOne() {}
	public function fetchArray() {}
}